import {Provider} from "../base";
import {ethers} from 'ethers';
import Config from '@/assets/js/config/load';
const config = Config();

let abi = config.fomo.weekAbi;
let contractAddress = config.fomo.weekAddress;
let provider = Provider.ETSC;
let contract = new ethers.Contract(contractAddress, abi, provider);

export async function weekAward_(wID, pID) {
    return await contract.weekAward_(wID, pID);
}


